package demo.example.model.pojo;

import lombok.Data;

import java.util.Date;

/**
 * 信息类，用于存储信息到登记表
 */
// lombok插件 可以不用写get/set/toString方法
@Data
public class Message {
    private Integer id;

    private String name;

    private String sex;

    private String phone;

    private String remarks;

    private Date createtime;

    public Message() {
    }

    public Message(String name, String sex, String phone, String remarks) {
        this.name = name;
        this.sex = sex;
        this.phone = phone;
        this.remarks = remarks;
    }
}